<div class="contratos view">
<h2><?php  __('Contrato');?></h2>
	<table<?php $i = 0; $class = ' class="altrow"';?>
>
		</tr>			<td<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></td>
			<td<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $contrato['Contrato']['id']; ?>
			&nbsp;
		</td>
		</tr>		</tr>			<td<?php if ($i % 2 == 0) echo $class;?>><?php __('Codigo'); ?></td>
			<td<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $contrato['Contrato']['codigo']; ?>
			&nbsp;
		</td>
		</tr>		<tr>			<td<?php if ($i % 2 == 0) echo $class;?>><?php __('Gerencia'); ?></td>
			<td<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($contrato['Gerencia']['nm_gerencia'], array('controller' => 'gerencias', 'action' => 'view', $contrato['Gerencia']['id'])); ?>
			&nbsp;
		</td>
		</tr>		<tr>			<td<?php if ($i % 2 == 0) echo $class;?>><?php __('Cliente'); ?></td>
			<td<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($contrato['Cliente']['nm_gerencia'], array('controller' => 'clientes', 'action' => 'view', $contrato['Cliente']['id'])); ?>
			&nbsp;
		</td>
		</tr>	</table>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Editar Contrato', true), array('action' => 'edit', $contrato['Contrato']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Eliminar Contrato', true), array('action' => 'delete', $contrato['Contrato']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $contrato['Contrato']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Lista de Contratos', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Agregar Contrato', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('Lista de Gerencias', true), array('controller' => 'gerencias', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Agregar Gerencia', true), array('controller' => 'gerencias', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('Lista de Clientes', true), array('controller' => 'clientes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Agregar Cliente', true), array('controller' => 'clientes', 'action' => 'add')); ?> </li>
	</ul>
</div>
